package com.lyz.dz.des.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author <a href="https://fengwenyi.com">Erwin Feng</a>
 * @since 2021-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("system_upset")
public class SystemUpsetEntity extends Model<SystemUpsetEntity> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联用户表
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 欢迎语
     */
    @TableField("welcom_text")
    private String welcomText;

    /**
     * å€åœ°
     */
    @TableField("company_addres")
    private String companyAddres;

    /**
     * 司公
     */
    @TableField("company")
    private String company;

    /**
     * qq
     */
    @TableField("qq")
    private String qq;

    /**
     * 电话
     */
    @TableField("phone")
    private String phone;

    /**
     * logo
     */
    @TableField("company_logo")
    private String companyLogo;

    /**
     * 信微
     */
    @TableField("we_chat")
    private String weChat;

    /**
     * 时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
